Pop Hotel - CustomDefinition
Elements
- ◆ Button: Hotel btn Save
- ◆ Text: Lbl Name
- ◆ Input: Hotel Inp Name
- Prevent "enter" key = true
- Initial content = Parent group's Name
- ◆ TabFix: TabFix A
- Use custom order = true
- Tab orders = a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14
- ◆ Text: Hotel Txt Delete 👓
- ◆ Icon: Hotel Ico Close
- Icon = material outlined close
- ◆ Text: Hotel Txt Caption
- ◆ Text: Lbl B
- ◆ Text: Lbl Remarks
- ◆ Multiline input: Hotel Inp Remarks
- Initial content = Parent group's Remarks
- ◆ Popup: Pop Confirm Delete
- disp = default
- ◆ Text: Text Delete, are you sure
- Text = Delete, are you sure?
- ◆ Button: Btn Confirm Yes
- ◆ Button: Btn Confirm No
- ◆ Alert: Hotel Alrt
- Position at the top = true
- ◆ Multiline input: Hotel Inp Address
- Initial content = Parent group's Address
- ◆ Input: Hotel Inp Website
- Prevent "enter" key = true
- Initial content = Parent group's Website
- ◆ Text: Lbl Website
- ◆ Text: Lbl Phone
- ◆ Input: Hotel Inp Phone
- Prevent "enter" key = true
- Initial content = Parent group's Phone
- ◆ Text: Lbl A
- ◆ Input: Inp Zone
- Placeholder = Zone...
- Prevent "enter" key = true
- Initial content = Parent group's Zone
- ◆ Text: Lbl A copy
- ◆ Input: Inp Pickup
- Placeholder = Pickup Time...
- Prevent "enter" key = true
- Initial content = Parent group's PickupTime
Workflow
- ◆ Hotel Ico Close is clicked - "is clicked"
- ◆ Hotel Txt Delete is clicked - "is clicked"
- ◆ Btn Confirm Yes is clicked - "is clicked"
- ◆ Btn Confirm No is clicked - "is clicked"
- ◆ Hotel btn Save is clicked - "is clicked"
- 1. Trigger Evt Add Edit - "Trigger"
- ◆ Pop Hotel is opened - "is opened"
- ◆ Hotel Txt Delete is clicked - "is clicked"
- When: [Search for TourTicket]:count > 0
- 1. Show alert Hotel Alrt - "Show alert"
- Change message = true
- Message = Hotel is in used.
- ◆ Evt Add Edit - "Evt Add Edit"
- 1. Set custom state of Pop Hotel - "See if Hotel already exists"
- ▪ SttHotelExists = [Search for TourHotel]:count > 0
- 2. Show alert Hotel Alrt - "Show alert"
- Change message = true
- Message = Hotel already exits
- When: Pop Hotel's SttHotelExists is true
- 3. Terminate this workflow. - "Terminate this workflow"
- 4. Make changes to Pop Hotel's TourHotel - "Make changes to"
- 5. Create a new TourHotel - "Create a new"
- 6. Hide Pop Hotel - "Hide"
- 7. Reset Pop Hotel - "Reset"
Generated byBubble Documenter